package cn.itcast.hotel.mapper;

import cn.itcast.hotel.pojo.User;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {

    void updateBalanceByIds(@Param("ew") LambdaQueryWrapper<User> wrapper, int count);
}
